<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="../../../book.css" charset="ISO-8859-1" type="text/css">
<title>Show References</title>
</head>
<body>
<h1>Show References</h1>
<p> Select the <strong>Show References</strong> command [ <img src="../../../images/org.eclipse.jdt.debug.ui/elcl16/all_references.svg" alt="Show All References"> ] to change if references should be displayed as variables in the view. When turned on, each Java variable that supports references will have a new child item with the name &quot;'&lt;variable name&gt;' referenced from:&quot;. This new variable contains a list of all Java objects that hold a reference to the parent object. You can get a text list in the detail pane by clicking on the reference list variable or explore the details of each referencing object by expanding the variables. </p>
<p>References will only appear in the view if the Java Virtual Machine you are using supports reference retrieval.</p>
<p>This command applies to:</p>
<ul>
  <li> <a href="../../../reference/views/expressions/ref-expressions_view.htm"><strong>Expressions View</strong></a></li>
  <li><a href="../../../reference/views/variables/ref-variables_view.htm"><strong>Variables View</strong></a> </li>
</ul>
<p>The   Variables View with Show References turned on. In this case, the Map is references by one object, a HashMap$EntrySet. </p>
<p><img src="../../../reference/views/shared/images/ref-showreferences.PNG" alt="Show References"></p>
<h3 class="related">Related References</h3>
<a href="../../../reference/views/shared/ref-viewdisplaycommands.htm">View Display Commands</a>
</body>
</html>
